import { hapTasks} from '@ohos/hvigor-ohos-plugin';
import { hapPlugin } from '@hadss/hmrouter-plugin';


export default {
    system: hapTasks,  /* Built-in plugin of Hvigor. It cannot be modified. */
    plugins: [hapPlugin()]          /* Custom plugin to extend the functionality of Hvigor. */
}
// import { appTasks } from '@ohos/hvigor-ohos-plugin';
// import { routerRegisterPlugin, PluginConfig } from 'router-register-plugin'
//
// const config: PluginConfig = {
//     scanDirs: ['src/main/ets/pages', 'src/main/ets/views'], // 扫描的目录，如果不设置，默认是扫描src/main/ets目录
//     logEnabled: true, // 查看日志
//     viewNodeInfo: false, // 查看节点信息
//     isAutoDeleteHistoryFiles: true,// 删除无用编译产物
//
// }
//
// export default {
//     system: appTasks,  /* Built-in plugin of Hvigor. It cannot be modified. */
//     plugins:[routerRegisterPlugin(config)]          /* Custom plugin to extend the functionality of Hvigor. */
// }